<%include file="include/head.html"%>
<div class="wrapper">
  <div id="div-home" class="main-info-box">
    <%include file="include/crumbs.html"%>
    <%include file="include/edit_nav.html"%>   
    <div class="div-info-body">
      <form class="validate" action="/users/edit_event" method="post">
      <input type="hidden" name="eventid" value="<%$event.id%>"/><br/>
      <dl id="dl-edit-event">
        <dt>人物：</dt>
        <dd><%$user.realname%></dd>
        <dt>时间：</dt>
        <dd><input required class="" maxlength="11" type="text" 
		   name="date" value="<%$event.date%>"/></dd>
        <dt>记事：</dt>
        <dd><textarea required class="required" maxlength1="1024" name="event"><%$event.event%></textarea></dd>
        <dt>&nbsp;</dt>
        <dd><input type="submit" class="ym-button" value="提交"/></dd>
      </dl>
      
    </form>
  </div>
    <div class="clear">
    </div>
</div>
<script src="<%$JS_DIR%>/jquery.metadata.js"></script>
<script src="<%$JS_DIR%>/jquery.validate.js"></script>
<script src="<%$JS_DIR%>/messages_cn.js"></script>
<script src="<%$JS_DIR%>/form.validate.js"></script>
<script>
  var s = document.createElement("input");
  s.setAttribute("type", "email");
  if (s.type !== "email")
  {
  // not support html5 form, use jquery validate
  $("form.validate").validate();
  }
</script>

<%include file="include/bottom.html"%>  
